package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

	@RequestMapping("/index")
	public String index() {
		return "hello spring";
	}
	
	@RequestMapping("/hello")
	public String hello() {
		return "我 cao了";
	}
	
	@RequestMapping("/hi")
	public String hiu() {
		return "又来提交嘛！";
	}
}
